<div id="search-component">
    <h4>hero search</h4>
    <input #searchBox id="search-box" (keyup)="search(searchBox.value)"/>
    <div *ngFor="let hero of heroes|async" (click)="gotoDetail(hero)" class="search-result">
        {{hero.name}}
    </div>
</div>